package com.background.dao.mapper;

import com.background.model.AdWebsites;
import com.background.model.AdWebsitesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdWebsitesMapper {
    long countByExample(AdWebsitesExample example);

    int deleteByExample(AdWebsitesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdWebsites record);

    int insertSelective(AdWebsites record);

    List<AdWebsites> selectByExample(AdWebsitesExample example);

    AdWebsites selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdWebsites record, @Param("example") AdWebsitesExample example);

    int updateByExample(@Param("record") AdWebsites record, @Param("example") AdWebsitesExample example);

    int updateByPrimaryKeySelective(AdWebsites record);

    int updateByPrimaryKey(AdWebsites record);
}